import request from '@/utils/request'

export function getViewPermissionApi(data) {
    return request({
        url: `/SettingApi/getViewPermission?filepath=${data.filepath}&mark=${data.mark}&viewid=${data.viewid}`,
        method: 'get',

    })
}
export function GetallDirectoryApi(data) {
    return request({
        url: `/DirectoryApi/post`,
        method: 'post',
        data
    })
}